<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
        + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>User Information</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
    <label>user</label>
    <br>
    <form action="user/updateUser.action" method="post">
        <table>
            <tr>
                <td>userID:</td>
                <td><s:property value="user.userID" /></td>
            </tr>
            <tr>
                <td>name:</td>
                <td><input name="user.name" value="<s:property value="user.name"/>"></td>
            </tr>
            <tr>
                <td>age:</td>
                <td><s:property value="user.age" /></td>
            </tr>
            <tr>
                <td>gender:</td>
                <td><s:property value="user.gender" /></td>
            </tr>
            <tr>
                <td>password:</td>
                <td><s:property value="user.password" /></td>
            </tr>
            <tr>
                <td>level:</td>
                <td><s:property value="user.level" /></td>
            </tr>
            <tr>
                <td>PermissionFlag:</td>
                <td><s:property value="user.permissionFlag" /></td>
            </tr>
            <tr>
                <td>infoPwd:</td>
                <td><s:property value="user.infoPwd" /></td>
            </tr>
            <tr>
                <td>tradePwd:</td>
                <td><s:property value="user.tradPwd" /></td>
            </tr>
            <tr>
                <td>verifyinfo:</td>
                <td><s:property value="user.verifyInfo" /></td>
            </tr>
        </table>
        <button type="submit">update</button>
    </form>

</body>
</html>
